#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<stdlib.h>

char findTheDifference(char* s, char* t)
{
    int ch[26];
    memset(ch, 0, sizeof(int));
    int len1 = strlen(s);
    int len2 = strlen(t);
    for (int i = 0; i < len1; i++)
    {
        ch[s[i] - 'a']++;
    }
    for (int i = 0; i < len2; i++)
    {
        ch[t[i] - 'a']--;
        if (ch[t[i] - 'a'] < 0)
            return t[i];
    }
    return ' ';
}
